<!DOCTYPE HTML>
<html>

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport"
        content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui">
    <title>Lpc-Test@mud.ren</title>
    <meta name="keywords" content="LPC,MUD,websocket,mud游戏,LPC编程">
    <meta name="description" content="LPC_TEST是LPC編程学习演示项目，演示了用LPC语言开发游戏的所有核心功能，方便初學者理解。">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.4/css/bulma.min.css">
    <link rel="stylesheet" href="css/xterm.min.css">
    <script src="js/xterm.min.js"></script>
    <script src="js/xterm-addon-fit.min.js"></script>
    <script src="js/widechar_width.js"></script>
    <script src="js/xterm-addon-unicode14.js"></script>
    <script src="js/xterm-addon-web-links.min.js"></script>
    <script src="js/xterm-addon-attach.min.js"></script>
    <script src="js/main.js"></script>
    <style>
        @font-face {
            font-family: 'Noto Sans Mono';
            src: url('font/NotoSansMono-VariableFont_wdth,wght.ttf') format("truetype");
            font-variation-settings: 'wght' 400;
        }

        html,
        body {
            height: 100%;
            overflow: hidden;
            font-family: 'Noto Sans Mono', monospace;
            font-size: medium;
            background-color: darkslategray
        }

    </style>
</head>

<body onload="mudConnect()">
    <div class="container">
        <div>
            <p class="box p-1 subtitle has-text-centered has-text-link">LpcTest@mud.ren</p>
        </div>
        <div id="container">
            <div id="terminal"></div>
        </div>
        <div class="field has-addons">
            <input type="text" class="input is-link is-medium" name="cmd" id="cmd" placeholder="请在此输入内容">
            <input type="submit" class="button is-link is-medium" onclick="sendCmd()" id="send">
        </div>
    </div>
</body>

</html>
